﻿@model TeamModel
@{
    ViewBag.Title = "编辑团队成员信息";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@section Script{
    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
}
@section Direct{
    <div class="stage dr">
        <ul>
            <li>@Html.ActionLink("返回", "Index", "Team")
            </li>
        </ul>
    </div>
}
<div class="stage ec-add form">
    @using (Html.BeginForm())
    {
        @Html.AntiForgeryToken();
        @Html.ValidationSummary(true)
        @Html.HiddenFor(r => r.Id)
        <div class="field">
            <div class="editor-label">
                @Html.LabelFor(model => model.Name)
            </div>
            <div class="editor-field">
                @Html.TextBoxFor(model => model.Name)
                @Html.ValidationMessageFor(model => model.Name)
            </div>
        </div>
        <div class="field-large">
            <div class="editor-label">
                @Html.LabelFor(model => model.Intro)
            </div>
            <div class="editor-field">
                @Html.TextAreaFor(model => model.Intro)
                @Html.ValidationMessageFor(model => model.Intro)
            </div>
        </div>
        <div class="field">
            <div class="editor-label">
                @Html.LabelFor(model => model.Sort)
            </div>
            <div class="editor-field">
                @Html.TextBoxFor(model => model.Sort)
                @Html.ValidationMessageFor(model => model.Sort)
            </div>
        </div>
        <div class="field">
            <div class="editor-label">
            </div>
            <div class="editor-field">
                <input type="submit" value="提交" />
            </div>
        </div>
    }
</div>
